<?xml version='1.0'?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://Ultima/content/Ultima.css" type="text/css"?>
<window title="Ambush Calculator" style="direction:ltr;" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml">

<html:table class="mymainbox" cellpadding="0" cellspacing="5" style="cursor:default; color:black; font-size:11px; font-family:arial, verdana, sans-serif; background:#ECE9D8"><html:tbody><html:tr>

<html:td class="box" align="center" style="padding: 5px 5px 5px 5px;">
<html:table>

<html:tr>
<html:td align="left"></html:td>
<html:td valign="bottom"><html:b>Your troops</html:b></html:td>
<html:td valign="bottom"><html:b>Enemy troops</html:b></html:td>
</html:tr>

<html:tr>
<html:td align="left"><html:b>Race</html:b></html:td>

<html:td>
<html:select id="Ambush_Your_Race" style="width: 100%;">
<html:option value="0" selected="selected">Human</html:option>
<html:option value="1">Elf</html:option>
<html:option value="2">Dwarf</html:option>
<html:option value="3">Orc</html:option>
<html:option value="4" disabled="disabled">Gnome</html:option>
<html:option value="5" disabled="disabled">Dark Elf</html:option>
<html:option value="6">Undead</html:option>
<html:option value="7">Avian</html:option>
<html:option value="8">Faery</html:option>
<html:option value="9">Halfling</html:option>
</html:select>
</html:td>

<html:td>
<html:select id="Ambush_Enemy_Race" style="width: 100%;">
<html:option value="0" selected="selected">Human</html:option>
<html:option value="1">Elf</html:option>
<html:option value="2">Dwarf</html:option>
<html:option value="3">Orc</html:option>
<html:option value="4" disabled="disabled">Gnome</html:option>
<html:option value="5" disabled="disabled">Dark Elf</html:option>
<html:option value="6">Undead</html:option>
<html:option value="7">Avian</html:option>
<html:option value="8">Faery</html:option>
<html:option value="9">Halfling</html:option>
</html:select>
</html:td>

</html:tr>

<html:tr>
<html:td align="left"><html:b>Soldiers</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Ambush_Your_Soldiers" value="0" type="text" size="10" /></html:td>
<html:td><html:input style="width: 76px;" id="Ambush_Enemy_Soldiers" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td align="left"><html:b>Off-Specs</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Ambush_Your_OffSpecs" value="0" type="text" size="10" /></html:td>
<html:td><html:input style="width: 76px;" id="Ambush_Enemy_OffSpecs" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td align="left"><html:b>Elites</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Ambush_Your_Elites" value="0" type="text" size="10" /></html:td>
<html:td><html:input style="width: 76px;" id="Ambush_Enemy_Elites" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td align="left"><html:b>Horses</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Ambush_Your_Horses" value="0" type="text" size="10" /></html:td>
<html:td rowspan="2"><html:img src="chrome://Ultima/content/Ambush_Mark.png" id="Ambush_Results_IMG" width="40" height="40" alt="" /></html:td>
</html:tr>

<html:tr>
<html:td align="left"><html:b>Merc/Pris</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Ambush_Your_Merc_Pris" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td align="left" height="22"><html:b>Off/Def</html:b></html:td>
<html:td><html:b align="center" id="Ambush_Your_Offense">0</html:b></html:td>
<html:td><html:b align="center" id="Ambush_Enemy_Defense">0</html:b></html:td>
</html:tr>


<html:tr>
<html:td align="left" height="22" colspan="3"><html:b id="Ambush_Results_MSG">?</html:b></html:td>
</html:tr>

</html:table>
</html:td></html:tr></html:tbody></html:table>

<script type="text/javascript" src="chrome://Ultima/content/Ultima_Config.js"></script>
<script type="text/javascript" src="chrome://Ultima/content/Calculator_Ambush.js"></script>

</window>